package com.sample.library.util;


import android.view.Gravity;

import com.sample.library.R;
import com.sample.library.toast.ToastUtils;

public class ToastUtil {

    public static void show(String msg) {
        ToastUtils.setView(R.layout.layout_toast);
        ToastUtils.setGravity(Gravity.CENTER, 0, 0);
        ToastUtils.show(msg);
    }

    public static void show(int resId) {
        ToastUtils.setView(R.layout.layout_toast);
        ToastUtils.setGravity(Gravity.CENTER, 0, 0);
        ToastUtils.show(resId);
    }


}
